<template>
  <view class="rig" v-show="isload">
    <view class="kefu text-xxlx hadow bg-white" @tap="tokefu()">
      <image src="@/static/icon_service.png" mode="aspectFill" style="width: 38rpx; height: 38rpx"></image>
      <view class="">客服</view>
    </view>
  </view>
</template>

<script>
export default {
  name: 'kefu',
  data() {
    return {
      isload: false,
      // url: null
      urll: null
    };
  },
  mounted() {
    if (this.app.kefu != '') {
      this.isload = true;
      // this.url = this.app.kefu;
      this.urll = this.app.kefu;
    }
  },
  methods: {
    tokefu() {
      uni.navigateTo({
        url: '/pages/common/webView?url=' + 'https://10929311.saas.53kf.com/code/xcx/6cc83c5322375084d7ce617c094303f52/1'
      });
    }
  }
};
</script>

<style lang="scss">
.rig {
  position: fixed;
  top: 65%;
  right: 10px;
}
.kefu {
  width: 80rpx;
  height: 80rpx;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0px 3px 16px 0px rgba(255, 194, 122, 0.2);
  view {
    font-size: 20rpx;
    color: #323232;
  }
}
</style>
